#ifndef __UART_H__
#define __UART_H__

void uart_rece(void);

extern unsigned char uartsendptr;
extern unsigned char uartreceptr;
extern unsigned char uartreceflag;
extern unsigned char uartsendflag;
extern unsigned char uartsendtempptr;
extern unsigned char xdata uartrecebuf[256];
extern unsigned char xdata uartsendbuf[256];
unsigned char code right[]="http://www.51embed.com\r\n";
unsigned char code right0[]="Bill's blog\r\n";
unsigned char code right1[]="MCU-51 development Board include:\r\n";
unsigned char code right2[]="7-segment LEDs\r\n";
unsigned char code right3[]="128*64 Matrix-dot LCD\r\n";
unsigned char code right4[]="i2c eeprom 24clc64\r\n";
unsigned char code right5[]="MCU's Uart communication \r\n";
unsigned char code right6[]="3*4 Key pad\r\n";
unsigned char code right7[]="Any sugesstion? email to huixiong73@gmail.com\r\n";
unsigned char code wrong[]="sorry,you have input a wrong number!\r\n";

extern unsigned char echoflag;
 #endif